Anthracite forms from the accumulation of plant debris in a swamp environment. When plant debris dies and falls into the swamp, the standing water of the swamp protects it from decay.
Hyaloclastite is a type of Igneous rock is formed through the cooling and solidification of lava or magma.